package com.company.example.service.impl;

import com.company.example.core.common.DaoHelperTest;
import org.springframework.stereotype.Service;

import com.company.example.model.pojo.User;
import com.company.example.service.UserServiceTest;

@Service("userServiceTest")
public class UserServiceTestImpl extends BaseServiceImpl<User, Integer> implements UserServiceTest{

    @Override
    public User findUserByName(String userName) {
        return (User) DaoHelperTest.query(super.getNameSpace(),"selectUserByName",userName);
    }
}
